package com.erp.erp_project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.erp.erp_project.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author yh
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    List<User> query(User user);
    User selectuser(User user);
    void delete(List userIds);
    User updatequery(User user);
    List<User> requery(@Param("userfield") String userfield,@Param("condition") String condition);
    List<User> querys(List<Integer> userIds);
    User loginquery(String username);
}
